package com.meihuak.cloud_ordering.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meihuak.cloud_ordering.bean.OrderChild;

import java.util.List;

public interface OrderChildService extends IService<OrderChild> {

    /**
     * 通过OrderId查询
     */
    public List<OrderChild> getOrderChiledByOrderId(long id);

    /**
     * 获取子订单完成时间
     * @return
     */
    public int getFinishTime(Long id);

    /**
     * 获取order完成时间
     */
    public int getOrderFinishTimeById(Long id);




}
